[]
dashboard.WynBi
• new WynBi()
▸ create(creationType
, option
): DashboardDesigner
| DashboardViewer
创建仪表板设计器或仪表板高级查看器的实例
名称 | 类型 |
---|---|
creationType |
"DashboardDesigner" | "DashboardViewer" |
option |
WynBIOption |
DashboardDesigner
| DashboardViewer
示例代码
const designer = WynBi.create(
"DashboardDesigner",
{
baseUrl,
token
}
);
▸ createViewerLite(option
): DashboardLiteViewer
创建仪表板标准查看器的实例
名称 | 类型 |
---|---|
option |
WynBIOption |
示例代码
const liteViewer = WynBi.createViewerLite(
{
baseUrl,
token
}
);